import {PAGE} from '../constants';
import {EnumItem, Enum} from 'Shared/utils/enumType';
const CN = 'zh-CN';
const EN = 'en-US';

export const DEFAULT_QUERY_OPTION = {
    time: undefined,
    partsManager: '',
};
export const time = Object.freeze({
    __proto__: Enum,
    '1个月': 1,
    '3个月': 2,
    '6个月': 3,
    '12个月': 4,
    properties: Object.freeze({
        '1': Object.freeze({
            __proto__: EnumItem,
            [CN]: '1个月',
            [EN]: ''
        }),
        '2': Object.freeze({
            __proto__: EnumItem,
            [CN]: '3个月',
            [EN]: ''
        }),
        '3': Object.freeze({
            __proto__: EnumItem,
            [CN]: '6个月',
            [EN]: ''
        }),
        '4': Object.freeze({
            __proto__: EnumItem,
            [CN]: '12个月',
            [EN]: ''
        }),
    })
});
